extends ../layout

block init
  -title = "订单确认"
  -dir = "/html/store/confirm"

block body
  #app
    .address(@click="selAddressClick")
      span(v-cloak) {{address}}
      input(type="hidden",:value="addressId")
      label(v-cloak)(:class="{'icono-caretRight':addresses.length>1}")
    ul.list
      li 服务类型
        span(v-cloak) {{serviceType}}
      template(v-for="item in prices.filter(function(it){return it.number >0;})")
        li(v-cloak)
          span {{item.name}} {{(item.price/100).toFixed(2)}}元
          span {{item.number}}

    ul.list
      li 配送费
        span(v-cloak)(style={color: "#ff8249"}) {{(freightFee/1).toFixed(2)}}元
      li 共计
        span(v-cloak)(style={color: "#ff8249"}) {{(total/100 + freightFee/1).toFixed(2)}}元
      li.remark(v-cloak) {{remark}}

    #btnOK.btn-block 确认订单
